package com.link.base.base.product.dao.mybatis.mapper;

import com.link.base.base.product.model.ComputeQuotePartsCost;
import com.link.base.base.product.model.ComputeQuotePartsCostLine;
import com.link.base.base.product.model.QuotePartsCostLine;
import com.link.core.basic.dao.mapper.BasicMapper;

import java.util.List;

public interface ComputeQuotePartsCostLineMapper extends BasicMapper<ComputeQuotePartsCostLine> {


    void quotePartsCostLineInsert(QuotePartsCostLine quotePartsCostLine);

    Integer countByHeadId(Long headId);

    List<ComputeQuotePartsCostLine> queryByProjectId(Long projectId);

    void deleteByHeadId(ComputeQuotePartsCostLine computeQuotePartsCostLine);

    void addBySelectPartCostId(ComputeQuotePartsCost computeQuotePartsCost);


    void computeUpdate(ComputeQuotePartsCostLine quotePartsCostLine);
}
